using Godot;
using System;

public partial class ChooseButton : Button
{
	[Signal]
	public delegate void ButtonChooseEventHandler(string text);
	// Called when the node enters the scene tree for the first time.
	public override void _Ready()
	{
		this.ButtonUp += OnChosen;
	}

	// Called every frame. 'delta' is the elapsed time since the previous frame.
	public override void _Process(double delta)
	{
	}
	public void OnChosen()
	{
		EmitSignal(SignalName.ButtonChoose,this.Text);
	}
}
